<?php 
/* SVN FILE: $Id$ */
/* EliminaEvento Test cases generated on: 2009-12-06 01:12:07 : 1260076507*/
App::import('Model', 'EliminaEvento');

class EliminaEventoTestCase extends CakeTestCase {
	var $EliminaEvento = null;
	var $fixtures = array('app.elimina_evento', 'app.reserva', 'app.tipo');

	function startTest() {
		$this->EliminaEvento =& ClassRegistry::init('EliminaEvento');
	}

	function testEliminaEventoInstance() {
		$this->assertTrue(is_a($this->EliminaEvento, 'EliminaEvento'));
	}

	function testEliminaEventoFind() {
		$this->EliminaEvento->recursive = -1;
		$results = $this->EliminaEvento->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('EliminaEvento' => array(
			'reserva_id'  => 1,
			'tipo_id'  => 1,
			'fecha_hora'  => 'Lorem ipsum ',
			'observacion'  => 'Lorem ipsum dolor sit amet',
			'usuario'  => 1
		));
		$this->assertEqual($results, $expected);
	}
}
?>